%SHRINK-ITEM-LI {
    .group-name,
    .link-span,.navbar-tip-item {
        display: none;
    }
    &:hover {
        .triangle-left {
            width: 0;
            height: 0;
            border-top: 5px solid transparent;
            border-right: 6px solid #000;
            border-bottom: 5px solid transparent;
            position: absolute;
            left: 55px;
            margin-top: 20px;
            z-index: 3;
        }
        .group-name {
            position: absolute;
            left: 60px;
            z-index: 3;
            background-color: #000;
            height: 30px;
            line-height: 30px;
            display: inline-block;
            padding: 0 10px;
            white-space: nowrap;
            border-radius: 3px;
            text-indent: 0;
            color: #fff;
            margin-top: 10px;
            span,
            p {
                color: #fff;
            }
        }
    }
}

sidebar-common-component {
    .navbar-tip-item {
        color: #fff;
        background-color: #dc441e;
        border-radius: 3px;
        padding: 2px 5px;
        font-size: 12px;
    }
    .eo-sidebar {
        background-color: #fff;
        position: fixed;
        height: 100%;
        left: 0;
        z-index: 5;
        top: 51px;
        box-shadow: 0px 0px 5px #e0e0e0;
        .common-sidebar {
            border-right: 1px solid #e5e5e5;
            height: 100%;
            .shrink-a {
                position: absolute;
                left: 229px;
                margin-top: 40px;
                z-index: 2;
                visibility: hidden;
                .title-li {
                    @include eo-line(25px, 24px);
                    width: auto;
                    .iconfont {
                        font-size: 24px;
                        color: #999;
                        border-radius: 50%;
                        background-color: #fff;
                        &:hover {
                            color: #333;
                        }
                    }
                }
            }
            .container-item-li {
                .second-sidebar {
                    display: none;
                }
            }
            .item-li {
                @include eo-line(50px);
                width: 240px;
                text-indent: 15px;
                cursor: pointer; // display: flex;
                span {
                    font-size: 14px;
                }
                .iconfont {
                    margin-right: 12px;
                    font-size: 20px;
                    width: 35px;
                }
                .un-read-span {
                    margin-left: 5px;
                }
                &:hover {
                    background-color: #e3f1e5;
                }
            }
            .divide-li {
                border-top: 1px solid #e5e5e5;
            }
            .static-top-li {
                border-bottom: 1px solid #e5e5e5;
                background-color: #fafafa;
                color: #999;
                .item-li {
                    &:hover {
                        background-color: #f2f2f2;
                    }
                }
            }
            .divide-dashed-bottom-li {
                border-bottom: 1px dashed #e5e5e5;
            }
            .elem-active {
                .second-sidebar {
                    display: inherit;
                }
                .item-li {
                    background-color: #ecf8ee;
                    color: #4CAF50;
                }
            }
            .disable-menu-li {
                background-color: #fafafa;
                cursor: default;
                span {
                    color: #999;
                    cursor: default;
                }
                &:hover {
                    background-color: #fafafa;
                }
            }
        }
        &:hover {
            .common-sidebar {
                .shrink-a {
                    visibility: visible;
                }
            }
        }
        .had-child-div {
            .item-li {
                width: 50px;
                border-left: none;
                .title-icon {
                    margin-right: 0;
                }
                @extend %SHRINK-ITEM-LI;
            }
            .static-top-li{
                border-bottom: 1px solid #e5e5e5;
                background-color: #fafafa;
                color: #999;
                .item-li {
                    width:240px;
                    .title-icon {
                        margin-right: 12px;
                    }
                    &:hover {
                        background-color: #f2f2f2;
                    }
                }
            }
        }
    }
    .second-sidebar {
        //二级菜单样式
        background-color: #fff;
        border-right: 1px solid #e5e5e5;
        position: fixed;
        height: 100%;
        left: 50px;
        z-index: 1;
        top: 51px;
        border-left: 1px solid #e5e5e5;
        .back-li,
        .ui-sref-li {
            @include eo-line(50px);
            width: 190px;
            text-indent: 8px;
            .iconfont {
                margin-right: 10px;
                font-size: 16px;
            }
            font-size: 12px;
            span {
                font-size: 14px;
            }
            .iconfont {
                margin-right: 3px;
                font-size: 13px;
            }
        }
        .back-li {
            border-bottom: 1px solid #f2f2f2;
            @include eo-line(49px);
            span {
                color: #999;
            }
        }
        .ui-sref-li {
            &:hover {
                background-color: #e3f1e5;
            }
        }
        .active {
            .ui-sref-li {
                background-color: #ecf8ee;
                color: #4CAF50;
            }
        }
    }
    .had-top-static-second-sidebar{
        top: 102px;
    }
}

.shrink-div,
.shrink-inside-div {
    eo-sidebar,sidebar-common-component {
        .eo-sidebar {
            .common-sidebar {
                overflow: hidden;
                .shrink-a {
                    left: 38px;
                }
                .item-li {
                    width: 50px;
                    border-left: none;
                    .title-icon {
                        margin-right: 0;
                    }
                    @extend %SHRINK-ITEM-LI;
                }
            }
            .elem-active {
                .second-sidebar {
                    display: none;
                }
            }
        }
    }
}